<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
         <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<link type="text/css" rel="stylesheet" href="css/detail.css">
<script type="text/javascript" src="js/jquery-1.11.2.min.js"></script>
<script type="text/javascript">
$(document).ready(
		function(){
			
		});
</script>
</head>
<body>
<div class="tablediv">
<form action="addCollect.do">
<table border="1" width="100%" height="200px" style="table-layout:fixed;"
cellspacing = "0" cellpadding="0">
<caption><h1> 收藏信息</h1></caption>
<tr><td>收藏ID</td><td><input type="text" name="collect_id" disabled="disabled"></td>
<td rowspan="8"><img alt="" src="image/pic5.jpg" width="100%" height="100%"></td>
</tr>
<tr><td>用户名称</td><td><select name="user_id">
<c:forEach items="${userlist }" var="user">
<option value="${user.user_id}">${user.username}</option>
</c:forEach>
</select></td></tr>
<tr><td>店铺名称</td><td><select name="shop_id">
<c:forEach items="${shoplist }" var="shop">
<option value="${shop.shop_id}">${shop.shopname}</option>
</c:forEach>
</select></td></tr>
<tr><td>食物名称</td><td><select name="food_id">
<c:forEach items="${foodlist }" var="food">
<option value="${food.food_id}">${food.foodname}</option>
</c:forEach>
</select></td></tr>
<tr><td>收藏种类</td><td><select name="flag">
<option value="0">店铺</option>
<option value="1">食物</option>
</select></td></tr>

<tr><td colspan="3"><button id="tijiao">提交</button></td></tr>
</table>
</form>
</div>

</body>
</html>